using System;
using System.Collections.Generic;
using System.Windows.Forms;

using OhioState.Graphics.Proxy;

namespace OhioState.Controls
{
    //
    // Uniform Variable Values Dialog - Popup dialog to modify uniform variables.
    //  This can have slow load times.
    //
    public partial class UVVDialog : Form
    {
        public UVVDialog()
        {
            InitializeComponent();
        }

        public void ShowAndInit(Dictionary<string, UniformVariableValues> uvvs)
        {
            uniformVariablesControl1.Init(uvvs);
            this.Show();
        }

        private void closeButton_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}